using System;
using System.Collections;
using System.Web.Caching;

namespace MagickServer.Services {
    public interface ICache : IEnumerable {
        object Remove(string key);
        int Count { get; }
        object this[string key] { get; set; }
        TimeSpan NoSlidingExpiration { get; }
        DateTime NoAbsoluteExpiration { get; }
    }
}